package models

import (
	"time"
)

type Area struct {
	ID int64 `json:"id" gorm:"id"`
	Title string `json:"title" gorm:"title"`
	IsShow int64 `json:"is_show" gorm:"is_show"` // 0:不显示 1:显示
	CreatedAt time.Time `json:"created_at" gorm:"created_at"`
}

// TableName 表名称
func (*Area) TableName() string {
    return "dg_area"        
}